﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;

/// <summary>
/// 敌人
/// </summary>
public interface Damageable
{
    // 敌人生命值
    public int Health {get;set;}

    /// <summary>
    /// 受到伤害
    /// </summary>
    /// <param name="damageSource">伤害来源</param>
    /// <param name="damagePoint">伤害点</param>
    /// <returns>造成的实际伤害</returns>
    public int Damage(GameObject damageSource,int damagePoint);
}

